<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>logList</title>
    <link rel="stylesheet" href="../css/layui.css">
</head>
<body>
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>序号</th>
            <th>ID</th>
            <th>用户名</th>
            <th>具体操作</th>
            <th>访问方法</th>
            <th>参数</th>
            <th>Ip地址</th>
            <th>时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="SysLog,status:${list}">
            <td th:text="${status.count}"></td>
            <td th:text="${SysLog.id}"></td>
            <td th:text="${SysLog.username}"></td>
            <td th:text="${SysLog.operation}"></td>
            <td th:text="${SysLog.method}"></td>
            <td th:text="${SysLog.params}"></td>
            <td th:text="${SysLog.ip}"></td>
            <td th:text="${#dates.format(SysLog.createdtime,'yyyy-MM-dd hh:mm:ss')}"></td>
            <td><a th:href="|@{delete/}${SysLog.id}"|>删除</a></td>
        </tr>
        </tbody>
    </table>
</body>
</html>